//
//  BasePickerView.h
//  Trackit
//
//  Created by yaodaobin on 2017/6/30.
//  Copyright © 2017年 yaodaobin. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^DismissBlock_BasePickerView)();

@interface BasePickerView : UIActionSheet <CAAnimationDelegate> {
    UIView *_backgroundView;
}

@property (nonatomic, readonly) BOOL isAppeared;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UIView *backgroundView;
@property (nonatomic, strong) UIButton *leftButton;
@property (nonatomic, strong) UIButton *rightButton;
@property (nonatomic,copy)DismissBlock_BasePickerView dismissBlock;

- (void)cancle:(id)sender;
- (void)ok:(id)sender;

- (void)showInView:(UIView *)view;
- (void)dismiss;

@end
